home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 6
/
The Arsenal Files 6 (Arsenal Computer).ISO
/
prg_casm
/
jlvesa11.zip
/
JLFONT01.CPP
< prev
next >
Wrap
Text File
|
1995-11-22
|
477b
|
23 lines
#include <stdio.h>
#include "jlvesa.h"
extern JVFont *jlfont_font;
void JVFont_Colorize(int color)
{
int a,b,c;
unsigned int offset;
for(a=0;a<256;a++)
{
offset=jlfont_font->offset[a];
if(offset!=0)
{
b=jlfont_font->height*(*(jlfont_font->font_data+offset));
for(c=1;c<=b;c++)
if(*(jlfont_font->font_data+offset+c)!=0)
*(jlfont_font->font_data+offset+c)=color;
}
}
}